﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace JGSoft.U9CRTAPIEX.DTOs.RequestDTOs
{
	/// <summary>
	/// 调入单子行
	/// </summary>
	public class TransInSubLineRData
    {
		/// <summary>
		/// 行号
		/// </summary>
		/// <value>System.Int32</value>

		public int DocLineNo { get; set; }

		/// <summary>
		/// 调出组织Code
		/// </summary>

		[Required]
		public string TransOutOrg_Code { get; set; }

		/// <summary>
		/// 存储地点Code
		/// </summary>

		[Required]
		public string TransOutWh_Code { get; set; }

		/// <summary>
		/// 货主组织
		/// </summary>

		public string TransOutOwenrOrg_Code { get; set; }

		/// <summary>
		/// 客户Code
		/// </summary>

		public string TransOutCustInfo_Code { get; set; }

		/// <summary>
		/// 供应商Code
		/// </summary>

		public string TransOutSuppInfo_Code { get; set; }

		/// <summary>
		/// 部门Code
		/// </summary>

		public string TransOutDept_Code { get; set; }

		/// <summary>
		/// 批号Code
		/// </summary>

		public string LotInfo_Code { get; set; }

		/// <summary>
		/// 调出数量
		/// </summary>

		[Required]
		public decimal StoreUOMQty { get; set; }

		/// <summary>
		/// 成本数量
		/// </summary>

		public decimal CostUOMQty { get; set; }

		/// <summary>
		/// 单价
		/// </summary>

		public decimal CostPrice { get; set; }

		/// <summary>
		/// 成本
		/// </summary>

		public decimal CostMoney { get; set; }

		/// <summary>
		/// 项目Code
		/// </summary>

		public string Project_Code { get; set; }

		/// <summary>
		/// 任务Code
		/// </summary>

		public string Task_Code { get; set; }

		/// <summary>
		/// 调出库存单位Code
		/// </summary>

		public string StoreUOM_Code { get; set; }

		/// <summary>
		/// 库存-基准
		/// </summary>

		public decimal SUTOSBURate { get; set; }

		/// <summary>
		/// 库存子表
		/// </summary>

		public string TransInBins { get; set; }

		/// <summary>
		/// VMI标志
		/// </summary>

		public bool IsVMI { get; set; }

		/// <summary>
		/// 零成本
		/// </summary>

		public bool ZeroCost { get; set; }

		/// <summary>
		/// seiban号Code
		/// </summary>

		public string Seiban_Code { get; set; }

		/// <summary>
		/// 库存-成本
		/// </summary>

		public decimal SUToCURate { get; set; }

		/// <summary>
		/// 调入数量
		/// </summary>

		public decimal TransInSUQty { get; set; }

		/// <summary>
		/// 调出-调入
		/// </summary>

		public decimal TransOutToTransInRate { get; set; }

		/// <summary>
		/// 序列号
		/// </summary>
		/// <value></value>
	
		public List<string> SNList { get; set; }

		/// <summary>
		/// 扩展字段
		/// </summary>

		public DescFlexFieldRData DescFlexField { get; set; }

		/// <summary>
		/// 计价数量
		/// </summary>

		public decimal PriceUOMQty { get; set; }
	}
}
